import request from '@/utils/request'
//获取扫码登录二维码
export function getLoginQRCode() {
  return request({
    url: '/scan-code-login/getLoginCode/{12}',
    headers: {
      isToken: false,
      repeatSubmit: false
    },
    method: 'get'
  })
}
//查询登录状态
export function getLoginStatus(token) {
  console.log("token",token)
  return request({
    url: '/scan-code-login/status',
    headers: {
      isToken: false,
      repeatSubmit: false
    },
    method: 'get',
    params:{token}
  })
}
